package com.myslef.teaching_platfrom.domain.course;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class Course {
    private Integer id;
    private Integer teacherId;
    private String teacherName;
    private String courseName;
    private String schoolName;
    private String picUrl;
    private String className;
    private String inviteId;
    private Integer studentCount;
    private Integer status;
    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
}
